package record

import "crmeb-common/global"

// TradingDayRecord 商城交易日记录表
type TradingDayRecord struct {
	global.BaseModel
	Date string `json:"date" gorm:"column=date;comment:日期"`

	ProductOrderNum int32 `json:"productOrderNum" gorm:"column=product_order_num;comment:订单数量"`

	ProductOrderPayNum int32 `json:"productOrderPayNum" gorm:"column=product_order_pay_num;comment:订单支付数量"`

	ProductOrderPayFee big.Float `json:"productOrderPayFee" gorm:"column=product_order_pay_fee;comment:订单支付金额"`

	ProductOrderRefundNum int32 `json:"productOrderRefundNum" gorm:"column=product_order_refund_num;comment:订单退款数量"`

	ProductOrderRefundFee big.Float `json:"productOrderRefundFee" gorm:"column=product_order_refund_fee;comment:订单退款金额"`

	RechargeOrderNum int32 `json:"rechargeOrderNum" gorm:"column=recharge_order_num;comment:充值订单数量"`

	RechargeOrderFee big.Float `json:"rechargeOrderFee" gorm:"column=recharge_order_fee;comment:充值订单金额"`

	BalancePayFee big.Float `json:"balancePayFee" gorm:"column=balance_pay_fee;comment:余额支付金额"`

	BrokerageFee big.Float `json:"brokerageFee" gorm:"column=brokerage_fee;comment:支付佣金金额（用户确认到账佣金）"`
}
